---
title: Grist - How do I link my account?
sidebarTitle: Grist
---

# Overview

To authenticate with Grist, you need:
1. **Environment** - The environment you want to connect to (personal site or team site).
2. **API Key** - A key that grants secure access to the Grist API, enabling authorized applications to interact with Grist resources and services.

This guide will walk you through selecting your environment and generating your **API Key** within Grist.

### Prerequisites:

- You must have a Grist account

### Instructions:

#### Step 1: Selecting Your Environment

- To access documents on your personal site, use `docs`.
- To access documents and workspaces on a team site, use `team`.

#### Step 2: Generating Your API Key

1. Log in to your Grist account and navigate to the [Account settings](http://docs.getgrist.com/account) page.
2. If an **API Key** is not present, click the **Create** button. If an API key already exists, you can copy it.
<img src="/api-integrations/grist/api_key.png"/>


#### Step 3: Enter credentials in the Connect UI

Once you have your **API Key**:

1. Open the form where you need to authenticate with Grist.
2. Enter your **API Key** in the designated field.
3. Submit the form, and you should be successfully authenticated.


<img src="/api-integrations/grist/form.png" style={{maxWidth: "450px" }}/>


You are now connected to Grist.
